package com.dibang.app.mvp.abs;

/**
 * Created by wxl on 2019/7/1.
 *
 */

public abstract class AbsView <C,V,P,M> implements BaseView<C,V,P,M>{

    protected P presenter;

    protected C control;

    @Override
    public void injectProvider(MvpProvider<V, P, M> provider) {
       presenter = provider.getProvider().getPresenter();
    }


    @Override
    public void injectControl(C control) {
        this.control = control;
    }
}
